Package com.getsensibill.core

Types

CoreState
Link copied to clipboard
enum CoreState
State of Sensibill Core/SDK
DataEventType
Link copied to clipboard
enum DataEventType : Enum<DataEventType>
Enum that represents the type of a Receipt Data Event.
InitializationBuilder
Link copied to clipboard
class InitializationBuilder(context: Context, environment: SBEnvironment, tokenProvider: TokenProvider)
Builder used to build instance of Initializer Initializer.
Initializer
Link copied to clipboard
interface Initializer
Interface that defines the required properties to initialize the Sensibill SDK
ReceiptDataObserver
Link copied to clipboard
interface ReceiptDataObserver
Observer to monitor Receipt Data events that occur inside the Sensibill SDKTo monitor receipt data events, add an implementation of ReceiptDataObserver to the Sensibill SDK
SensibillSDK.addReceiptDataObserver(object : ReceiptDataObserver {
override fun notify(dataEventType: DataEventType, receipt: Receipt) {
// Observer Receipt Data Events
}
})
SDKInitializeListener
Link copied to clipboard
interface SDKInitializeListener
Simple listener to be used to be notified of the initialization result of the Sensibill SDK
SDKLifecycleObserver
Link copied to clipboard
interface SDKLifecycleObserver
Observer to monitor Sensibill SDK lifecycle events.
SDKRestoreListener
Link copied to clipboard
interface SDKRestoreListener
Simple listener to be used to be notified of the restoration result of the Sensibill SDK
SDKStartup
Link copied to clipboard
interface SDKStartup
Listener to observe the SDK start process OnSDKStarted, SDK is available to use OnSDKFailed, SDK failed to start
SensibillSDK
Link copied to clipboard
object SensibillSDK : SensibillCore
SensibillSDK.
Session
Link copied to clipboard
class Session(userIdentifier: String, environment: SBEnvironment, tokenProvider: TokenProvider?)
Defines basic session properties that the Sensibill SDK will use to build API requests
TransactionDataObserver
Link copied to clipboard
interface TransactionDataObserver
Observer to monitor Receipt Upload Transactions that occur inside of the Sensibill SDKTo monitor transactions, add an implementation of TransactionDataObserver to the Sensibill SDK
SensibillSDK.addTransactionDataObserver(object : TransactionDataObserver {
override fun notify(transaction: Transaction) {
// Observer upload transaction
}
})